// modules/login.ts
import { post } from '@/utils/request';

export default {
  // 查询商户/服务商详情
  queryDetail: (body: any, type: string) => {
    if (type === 'AGENT') return post(`/agent/queryDetail`, body, true)
    return post(`/merchant/queryDetail`, body, true)
  },
};
